package com.ruoyi.project.mahjong.domain.enu;

import cn.hutool.core.bean.BeanUtil;

import cn.hutool.json.serialize.JSONSerializer;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.reflect.TypeToken;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.project.mahjong.domain.TIntegral;
import com.ruoyi.project.mahjong.domain.TOpenTable;
import com.ruoyi.project.mahjong.domain.vo.TOpenTableVo;
import com.ruoyi.project.system.domain.SysDictData;
import com.ruoyi.project.system.mapper.SysDictDataMapper;
import com.ruoyi.project.system.service.impl.SysDictDataServiceImpl;
import io.swagger.models.auth.In;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
import org.w3c.dom.ls.LSInput;
import oshi.util.LsofUtil;

import java.io.IOException;
import java.lang.reflect.Type;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.time.*;
import java.time.format.DateTimeFormatter;
import java.util.*;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONArray;
public class MYTset {

    public static void main(String[] args) {
//        Calendar calendar = Calendar.getInstance();
//        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
//        calendar.add(Calendar.MONTH, 0);
//        calendar.set(Calendar.DAY_OF_MONTH, 1);
//        String firstDayOfMonth = dateFormat.format(calendar.getTime()) + " 00:00:00";
//        calendar.add(Calendar.MONTH, 1);
//        calendar.set(Calendar.DAY_OF_MONTH, 0);
//        String lastDayOfMonth = dateFormat.format(calendar.getTime()) + " 24:00:00";
//        System.out.println(firstDayOfMonth);
//        System.out.println(lastDayOfMonth);
//        final BigDecimal divide = new BigDecimal(new Date().getTime()).subtract(new BigDecimal(1700805710000l));
//        divide.divide(new BigDecimal(1000),2,B)
//        System.out.println(divide);
        Double d=3.0;
        Double d2=1.0;
        final double v = d2 / d;
        System.out.println(v);
    }

}
